package com.bw.skill.mvvm.model;


import com.bw.skill.entity.AddSeckillEntity;
import com.bw.skill.entity.AddShopEntity;
import com.bw.skill.entity.SeckillEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/27 0027 上午 9:06
 *
 */
interface Api {
    @POST("secKill/seckilles")
    Observable<SeckillEntity> requestSeckill(@Body RequestBody body);

    @POST("secKill/seckill")
    Observable<AddSeckillEntity> requestGoodseckill(@Body RequestBody body);


}
